bollocks (someone's) mind

Translations
заморочить (чей-то) ум
The complexity of the puzzle really bollocksed my mind.
Сложность головоломки действительно заморочила мне голову.